package com.dormitory.application;

import android.app.Application;
import android.os.Handler;

import com.dormitory.bean.DormitoryBean;
import com.dormitory.bean.UserBean;

import java.util.List;

/**
 * Created by JHF on 2017/10/19.
 */

public class MyApplication extends Application {
    private UserBean user = null;
    private DormitoryBean dormitory = null;
    private Handler updateNotiHandler = null;
    private Handler updateNewsHandler = null;

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public DormitoryBean getDormitory() {
        return dormitory;
    }

    public void setDormitory(DormitoryBean dormitory) {
        this.dormitory = dormitory;
    }

    public Handler getUpdateNotiHandler() {
        return updateNotiHandler;
    }

    public void setUpdateNotiHandler(Handler updateNotiHandler) {
        this.updateNotiHandler = updateNotiHandler;
    }

    public Handler getUpdateNewsHandler() {
        return updateNewsHandler;
    }

    public void setUpdateNewsHandler(Handler updateNewsHandler) {
        this.updateNewsHandler = updateNewsHandler;
    }
}
